package com.eshop.modules.shop.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import com.eshop.modules.shop.service.dto.AppVersionDto;
import com.eshop.domain.PageResult;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.shop.service.dto.AppVersionQueryCriteria;
import com.eshop.modules.shop.domain.AppVersion;
import com.eshop.common.service.BaseService;

public interface AppVersionService extends BaseService<AppVersion>
{
    PageResult<AppVersionDto> queryAll(final AppVersionQueryCriteria criteria, final Pageable pageable);
    
    List<AppVersion> queryAll(final AppVersionQueryCriteria criteria);
    
    void download(final List<AppVersionDto> all, final HttpServletResponse response) throws IOException;
}
